package com.miyu.system.pojo.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import java.io.Serializable;
import lombok.Data;

/**
 * 天气城市字典;
 * @author : miyu
 * @date : 2022-9-30
 */
@ApiModel(value = "天气城市字典",description = "")
@Data
@Entity
@Table(name="sys_city")
public class SysCity implements Serializable,Cloneable{
    /** 城市编码 */
    @Id
    @ApiModelProperty(name = "城市编码",notes = "")
    @Column(name = "id", nullable = false, length =20 )
    private String id ;
    /** 城市拼音 */
    @ApiModelProperty(name = "城市拼音",notes = "")
    @Column(name = "city_en", nullable = true, length =50 )
    private String cityEn ;
    /** 城市中文名 */
    @ApiModelProperty(name = "城市中文名",notes = "")
    @Column(name = "city_zh", nullable = true, length =32 )
    private String cityZh ;
    /** 国家英文 */
    @ApiModelProperty(name = "国家英文",notes = "")
    @Column(name = "country_en", nullable = true, length =50 )
    private String countryEn ;
    /** 国家中文 */
    @ApiModelProperty(name = "国家中文",notes = "")
    @Column(name = "country_zh", nullable = true, length =50 )
    private String countryZh ;
    /** 经度 */
    @ApiModelProperty(name = "经度",notes = "")
    @Column(name = "lat", nullable = true, length =20 )
    private String lat ;
    /** 上级英文 */
    @ApiModelProperty(name = "上级英文",notes = "")
    @Column(name = "leader_en", nullable = true, length =32 )
    private String leaderEn ;
    /** 上级中文 */
    @ApiModelProperty(name = "上级中文",notes = "")
    @Column(name = "leader_zh", nullable = true, length =50 )
    private String leaderZh ;
    /** 纬度 */
    @ApiModelProperty(name = "纬度",notes = "")
    @Column(name = "lon", nullable = true, length =20 )
    private String lon ;
    /** 省级名称英文 */
    @ApiModelProperty(name = "省级名称英文",notes = "")
    @Column(name = "province_en", nullable = true, length =32 )
    private String provinceEn ;
    /** 省级名称中文 */
    @ApiModelProperty(name = "省级名称中文",notes = "")
    @Column(name = "province_zh", nullable = true, length =50 )
    private String provinceZh ;
}